﻿using UnityEngine;
using System.Collections;

public class Light : MonoBehaviour {


	void Start () 
	{
		StartCoroutine(lightEffect());
	}
	IEnumerator lightEffect()
	{
		light.range = 1.7f;
		yield return new WaitForSeconds(.2f);
		light.range = 1.75f;
		yield return new WaitForSeconds(.2f);
		StartCoroutine(lightEffect());
	}
}
